home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 121
/
FreelogMagazineJuilletAout2014-No121.iso
/
Outils
/
Adobe-Air
/
adobe-air_13.exe
/
[0]
/
setup.swf
/
scripts
/
_ControlBarStyle.as
< prev
next >
Wrap
Text File
|
2014-03-27
|
1KB
|
41 lines
package
{
import mx.core.IFlexModuleFactory;
import mx.styles.CSSStyleDeclaration;
import mx.styles.StyleManager;
public class _ControlBarStyle
{
public function _ControlBarStyle()
{
super();
}
public static function init(param1:IFlexModuleFactory) : void
{
var fbs:IFlexModuleFactory = param1;
var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("ControlBar");
if(!style)
{
style = new CSSStyleDeclaration();
StyleManager.setStyleDeclaration("ControlBar",style,false);
}
if(style.defaultFactory == null)
{
style.defaultFactory = function():void
{
this.paddingTop = 10;
this.disabledOverlayAlpha = 0;
this.paddingLeft = 10;
this.paddingRight = 10;
this.verticalAlign = "middle";
this.paddingBottom = 10;
this.borderStyle = "controlBar";
};
}
}
}
}